package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.common.pojo.dto.LocationGetDTO;
import com.xbongbong.pro.common.pojo.dto.LocationSetDTO;
import com.xbongbong.pro.common.pojo.vo.LocationGetVO;
import com.xbongbong.pro.common.pojo.vo.LocationSetVO;

/**
 *
 * @author 魏荣杰
 * @date 2019/5/13 10:37
 * @since v1.0
 * @version v1.0
 */
public interface LocationService {

    /**
     * Description: 获取form数据的地址中的经纬度
     * @param locationGetDTO
     * @return com.xbongbong.pro.common.pojo.vo.LocationGetVO
     * @throws XbbException XbbException
     * @author 魏荣杰
     * @date 2019/5/13 11:18
     * @since v1.0
     */
    LocationGetVO getLocation(LocationGetDTO locationGetDTO) throws XbbException;

    /**
     * Description: 设置form中的地址字段
     * @param locationSetDTO
     * @return com.xbongbong.pro.common.pojo.vo.LocationSetVO
     * @throws XbbException XbbException
     * @author 魏荣杰
     * @date 2019/5/13 15:29
     * @since v1.0
     */
    LocationSetVO setLocation(LocationSetDTO locationSetDTO) throws XbbException;
}
